﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Tong;
public partial class aspnet_admin_bock_keyWord_CX_keyWord_Show : System.Web.UI.Page
{
    public Tong.IAsk.IaskDataOrstr Ask = new Tong.IAsk.IaskDataOrstr();
    public TongUse TextData = new TongUse();
    Tong.Fy.FenYe FY = new Tong.Fy.FenYe();
    protected void Page_Load(object sender, EventArgs e)
    {
        BindData();

    }


    protected void BindData()
    {


        GridView1.DataSource = FY.Fy("SELECT * FROM [ask_query] order by ask_query_id desc",20);
        GridView1.DataBind();
        Div.InnerHtml = FY.GetHTML;
    }



    protected void Button1_Click(object sender, EventArgs e)
    {
        GridView1.DataSource = FY.Fy("select * from [ask_query]  where ask_query_name  like '%" + ask_query_name.Text.Trim() + "%' order by ask_query_id desc", 2000);
        GridView1.DataBind();
        Div.InnerHtml = FY.GetHTML;
    }



}
